﻿<div class="layui-fluid" style="padding: 5px;">
<form id="modelbizVideoModelForm" lay-filter="modelbizVideoModelForm" class="layui-form model-form" style="padding:0px;">
<input name="id" type="hidden"  id="bizVideoModelId" value="#(bizVideoModel?bizVideoModel.id:'')" />
<input name="sceneId" type="hidden"  value="#(sceneId)" />
<input name="layerId" type="hidden" id="layerId"  value="#(bizVideoModel?bizVideoModel.layerId:'')" />
<input name="videoId" type="hidden" id="bizVideoModelVideoId"  value="#(bizVideoModel?bizVideoModel.videoId:'')" />
<input name="modelId" type="hidden" id="bizVideoModelModelId"  value="#(bizVideoModel?bizVideoModel.modelId:'')" />
<input name="rotationX" type="hidden" id="bizVideoModelRotationX-input"  value="#(bizVideoModel?bizVideoModel.rotationX:'')" />
<input name="rotationY" type="hidden" id="bizVideoModelRotationY-input"  value="#(bizVideoModel?bizVideoModel.rotationY:'')" />
<input name="rotationZ" type="hidden" id="bizVideoModelRotationZ-input"  value="#(bizVideoModel?bizVideoModel.rotationZ:'')" />
    <div class="layui-card" style="background: none;">
        <div class="layui-card-body" style="padding:0px;">
			<table class="formTable">
				<tr>
					<td>设备</td>
					<td colspan="3">
						<input id="bizVideoModelName-input"  value="#(bizVideoModel?bizVideoModel.name:'')" name="name"  placeholder="" autocomplete="off"   type="text" class="layui-input" maxlength="50" lay-verType="tips" lay-verify="required" required />
					</td>
					<td>
					    <button id="bizVideoModelGetBtnVideo" type="button" class="layui-btn layui-btn-normal layui-btn-sm">选取</button>
					</td>					
				</tr>				
				<tr>
					<td>设备编号</td>
					<td colspan="4">
						<input id="bizVideoModelCode" name="code" value="#(bizVideoModel?bizVideoModel.code:'')" placeholder="" autocomplete="off"   type="text" class="layui-input" maxlength="50"/>
					</td>
				</tr>				
				<tr>
					<td>模型</td>
					<td colspan="3">
						<input id="bizVideoModelModelName-input"  value="#(bizVideoModel?bizVideoModel.modelName:'')" name="modelName"  placeholder="" autocomplete="off"   type="text" class="layui-input" maxlength="50" lay-verType="tips" lay-verify="required" required />
					</td>
					<td>
					    <button id="bizVideoModelGetBtnModel" type="button" class="layui-btn layui-btn-normal layui-btn-sm">选取</button>
					</td>					
				</tr>					
				<tr>
					<td>经度</td>
					<td colspan="3">
						<input id="bizVideoModelX" value="#(bizVideoModel?bizVideoModel.x:'')" name="x" readonly="readonly" placeholder="" autocomplete="off"   type="text" class="layui-input" maxlength="50" lay-verType="tips" lay-verify="required" required/>
					</td>
					<td rowspan="3">
					    <button id="bizVideoModelGetBtnPosition" type="button" class="layui-btn layui-btn-normal layui-btn-sm">选取</button>
					</td>
				</tr>
				<tr>
					<td>纬度</td>
					<td colspan="3">
						<input id="bizVideoModelY" value="#(bizVideoModel?bizVideoModel.y:'')" name="y" readonly="readonly" placeholder="" autocomplete="off"   type="text" class="layui-input" maxlength="50" lay-verType="tips" lay-verify="required" required/>
					</td>
				</tr>
				<tr>
					<td>海拔</td>
					<td colspan="3">
						<input id="bizVideoModelZ" value="#(bizVideoModel?bizVideoModel.z:'')" name="z"  placeholder="" autocomplete="off"   type="number" class="layui-input" maxlength="50" lay-verType="tips" lay-verify="required" required/>
					</td>
				</tr>
				<tr>
					<td>转角X</td>
					<td colspan="4">
						<div id="bizVideoModelRotationX" class="demo-slider"></div>
					</td>
				</tr>
				<tr>
					<td>转角Y</td>
					<td colspan="4">
						<div id="bizVideoModelRotationY" class="demo-slider"></div>
					</td>
				</tr>
				<tr>
					<td>转角Z</td>
					<td colspan="4">
						<div id="bizVideoModelRotationZ" class="demo-slider"></div>
					</td>
				</tr>
				<tr>
					<td>缩放X</td>
					<td colspan="4">
						<input id="bizVideoModelScaleX" name="scaleX" min=0.01 step=0.01 value="#(bizVideoModel?bizVideoModel.scaleX:'1')" placeholder="" autocomplete="off"   type="number" class="layui-input" maxlength="50"/>
					</td>
				</tr>
				<tr>
					<td>缩放Y</td>
					<td colspan="4">
						<input id="bizVideoModelScaleY" name="scaleY" min=0.01 step=0.01 value="#(bizVideoModel?bizVideoModel.scaleY:'1')" placeholder="" autocomplete="off"   type="number" class="layui-input" maxlength="50"/>
					</td>
				</tr>
				<tr>
					<td>缩放Z</td>
					<td colspan="4">
						<input id="bizVideoModelScaleZ" name="scaleZ" min=0.01 step=0.01 value="#(bizVideoModel?bizVideoModel.scaleZ:'1')" placeholder="" autocomplete="off"   type="number" class="layui-input" maxlength="50"/>
					</td>
				</tr>						
				<tr>
					<td>是否可用</td>
					<td colspan="4" style="text-align: left;">
				      <select name="enabled" lay-filter="enabled"  lay-verify="required" required>
				        <option value="1" >启用</option>
				        <option value="0" >禁用</option>
				      </select>
	                </td>
				</tr>										
				<tr>
					<td colspan="5" style="text-align: right;">
						<button type="button" class="layui-btn layui-btn-sm" id="settingbizVModelVisualAngle">设置视角</button>
						<button class="layui-btn layui-btn-sm" id="setting-drag-btn">平移</button>
						<button class="layui-btn layui-btn-sm" lay-filter="submitbizVModelForm" lay-submit>保存</button>
					</td>
				</tr>
			</table>			
        </div>
    </div>
    </form>
</div>
